3

Menus and Dialog Boxes

Menus group an application's primary functions and make them readily available, while dialog boxes offer easy access to a variety of controls. Menus and dialog boxes let you "feel" your way through an application and learn it by intuition.

The menus and dialog boxes in the avenue.quark interface make it easy for you to tag the content of QuarkXPress documents, save that content in XML format, and identify the tagged content in the QuarkXPress document from which it came.


File Menu

When avenue.quark is installed, the QuarkXPress File menu lets you create a new XML document.


XML (command)

File > New

The XML command (Command+Shift+X on Mac OS, Ctrl+Shift+X on Windows) displays the New XML dialog box, which lets you select a DTD, root element, and tagging rule set to use in creating an XML document.

XML command


New XML (dialog box)

File > New > XML

The New XML dialog box lets you specify a template, DOCTYPE, and default tagging set for a new XML document.

New XML dialog box


Template (list)

File > New > XML

The Template list lets you select the XML template (if any) you would like the new XML document to be based on. The list menu displays the names of all XML templates in the "Templates" folder in the QuarkXPress folder. For more information about XML templates, see "Working with XML Templates" in Chapter 6, "Tagging Content."

Template list

To create a new XML document that is not based on a template, select Custom in the Template list.



DOCTYPE (area)

File > New > XML

The DOCTYPE area lets you select a DTD and root element for a new XML document. If you select Custom in the Template list, you can click Import to import a DTD and then choose a root element from the Root Element pop-up menu. If you select a template in the Template list, the template's DTD and root element are displayed, but cannot be changed.

DOCTYPE area


Tagging Rule Set (area)

File > New > XML

The Tagging Rule Set area lets you choose a default tagging rule set for the new XML document.

Tagging Rule Set area

The tagging rule set chosen in the Default Set pop-up menu is the default selection displayed in the Tagging Rule Set pop-up menu in the XML Workspace palette. The tagging rule set can be changed at any time in the XML Workspace palette.



Edit Menu

The Edit menu lets you specify avenue.quark preferences and create tagging rule sets and categories.


avenue.quark Preferences (command)

Edit > Preferences > avenue.quark

The avenue.quark Preferences command displays the avenue.quark Preferences dialog box.

avenue.quark Preferences command


avenue.quark Preferences (dialog box)

Edit > Preferences > avenue.quark

The avenue.quark Preferences dialog box lets you specify how tagged content appears on-screen, control the color of marker text, and turn dynamic content updating on and off.

avenue.quark Preferences dialog box


Show Tagged Content (area)

Edit > Preferences > avenue.quark

The Show Tagged Content area lets you specify the colors used to display tagged and untagged content when Show Tagged Content is selected in the Utilities menu. To change the display color for tagged content, click the Tagged Text button. To change the display color for untagged content, click the Untagged Text button.

The Show Tagged Content command works only in QuarkXPress 4.1 or later.


Show Tagged Content area


Tagging Rule/Position Options (area)

Edit > Preferences > avenue.quark

This area lets you control how decisions are made during rule-based tagging.


Marker Text (button)

Edit > Preferences > avenue.quark

The Marker Text button lets you specify the color of the brackets that surround tagged text when you choose View > Show Invisibles. To change the color of the brackets, click the button.

Marker Text button


Enable Dynamic Content Update (check box)

Edit > Preferences > avenue.quark

The Enable Dynamic Content Update button lets you specify whether the content of elements in active XML documents should be continuously updated to reflect the content of the QuarkXPress items they're linked to. You might want to uncheck this button if QuarkXPress seems to be running very slowly when editing large XML documents; you can manually update the content when this box is unchecked by clicking the Synchronize Content button in the XML Workspace palette.

Enable Dynamic Content Update check box

Synchronize Content button (XML Workspace palette)


Tagging Rules (command)

Edit > Tagging Rules

The Tagging Rules command displays the Tagging Rules dialog box, which lets you create, edit, duplicate, and delete tagging rule sets for the active XML document.

Tagging Rules command


Tagging Rules (dialog box)

Edit > Tagging Rules

The Tagging Rules dialog box lets you create, edit, duplicate, and delete tagging rule sets for the DOCTYPE of the active XML document. The tagging rule sets you create in this dialog box are available in the Tagging Rule Set pop-up menu in the document's XML Workspace palette.

Tagging Rules dialog box

Tagging rule sets are saved as part of avenue.quark XML documents; they are not stored in a preferences file.



Edit Tagging Rules (dialog box)

Edit > Tagging Rules > New, Edit, or Duplicate

Clicking New, Edit, or Duplicate in the Tagging Rules dialog box displays the Edit Tagging Rules dialog box, which lets you create and edit tagging rule sets.

Edit Tagging Rules dialog box

You can use the Tab key to move from the selected element in the DTD list through the steps in the dialog box required to define a tagging rule.



DTD Tree (list)

Edit > Tagging Rules > New, Edit, or Duplicate

The DTD Tree list displays the selected DTD. You can scroll through the list with the horizontal and vertical bars or with the arrow keys. You can display or hide the contents of container elements by clicking the and icons (Mac OS) and the and icons (Windows).

DTD Tree list

A symbol at the beginning of each element's name indicates how many of that element may be contained by the parent element type:

A symbol at the end of an element's name indicates the relationship this element can have with other elements:

If an element's name is bold and black, you can create tagging rules for that element type. If an element's name is bold, black, and italic, the tagging rule set already contains at least one rule for that element type. If an element's name is unavailable, no tagging rules may be created for that element type.



Add Rule, Duplicate, and Delete (buttons)

Edit > Tagging Rules > New, Edit, or Duplicate

The Add Rule, Duplicate, and Delete buttons let you add, duplicate, and delete tagging rules in the Rules list.

Add Rule, Duplicate, and Delete buttons


Rules (list)

Edit > Tagging Rules > New, Edit, or Duplicate

The Rules list displays the tagging rules for the selected element type. The rule names in this list reflect the selections made in the Rule Setting area for each rule.

To edit a tagging rule, select its name in the list and change its definition in the Rule Setting area.

Rules list


Rule Setting (area)

Edit > Tagging Rules > New, Edit, or Duplicate

The Rule Setting area lets you configure the tagging rule selected in the Rules list. The options available in this area are based on the active QuarkXPress document.

Rule Setting area


View Menu

The View menu lets you display brackets around tagged content in the active QuarkXPress document.


Show Invisibles, Hide Invisibles (command)

View menu

In addition to its regular QuarkXPress functionality, the Show Invisibles command displays markers before and after tagged content in the active QuarkXPress document. You can control the color of these markers in the avenue.quark Preferences dialog box (Edit > Preferences > avenue.quark). The Hide Invisibles command hides these markers.

Show Invisibles command

Text with brackets, as displayed by the Show Invisibles command.


Utilities Menu

The Utilities menu lets you show tagged content in the active QuarkXPress document.


Show Tagged Content, Hide Tagged Content (command)

Utilities menu

The Show Tagged Content command displays tagged and untagged content in the active QuarkXPress document with a particular color. You can specify this color in the avenue.quark Preferences dialog box (Edit > Preferences > avenue.quark).

Show Tagged Content command

The Show Tagged Content command works only in QuarkXPress 4.1 or later.



Choose Rule/Position Dialog Box

The Choose Rule/Position dialog box is displayed in two different situations:

The Choose Rule/Position dialog box lets you determine which rule to use when text matches more than one tagging rule. It also lets you choose a position for a tagged element when more than one position is available.

The controls in this dialog box work as follows:

For more information, see "avenue.quark Preferences" in this section.